// 1.导入app
const app = require('./app/index')
const { SERVER_PORT } = require('./config/server')
require('./utils/handle-error')
// 2.启动app
app.listen(SERVER_PORT, () => {
  console.log('coderhub的服务器启动成功')
})